<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //1.引入新的字符串方式``
        let str = `我也是一个字符串`
        console.log(str, typeof str);//我也是一个字符串 string

        //2.内容中可以出现换行符
        let str1 = `<ul>
            <li>沈腾</li>
            <li>玛丽</li>
            <li>魏翔</li>
            </li>艾伦<li>
                </ul>`
        console.log(str1);

        //3.可以进行变量的拼接`${变量名}`
        let lovest = '魏翔';
        let out = `${lovest}是我心中最搞笑的演员!!`
        console.log(out);

    </script>
</body>

</html>